package com.kob.backend.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class product {
    @TableId(type= IdType.AUTO)//Id自增长
    private Integer id;
    private String productname;
    private Double price;
    private Integer inventory;
    private String description;
    private String photo;
}
